Ext.define("Dict.view.article.List", {
    extend : "Ext.grid.Panel",
    alias : "widget.articlelist",
    title : "Articles",
    initComponent : function() {
	    console.log("artlicle.List init");

	    this.store = {
	        fields : [
	                "id", "url", "title", "content"
	        ],
	        data : [
	                {
	                    id : 1,
	                    url : "http://asd",
	                    title : "title 1",
	                    content : "content 1"
	                }, {
	                    id : 2,
	                    url : "http://qwe",
	                    title : "title 2",
	                    content : "content 2"
	                }, {
	                    id : 3,
	                    url : "http://zxc",
	                    title : "title 3",
	                    content : "content 3"
	                }, {
	                    id : 4,
	                    url : "http://123",
	                    title : "title 4",
	                    content : "content 4"
	                }, {
	                    id : 5,
	                    url : "http://asd2",
	                    title : "title 5",
	                    content : "content 5"
	                }
	        ]
	    };

	    this.columns = [
	            {
	                header : "Id",
	                dataIndex : "id",
	                flex : 1
	            }, {
	                header : "URL",
	                dataIndex : "url",
	                flex : 1
	            }, {
	                header : "Title",
	                dataIndex : "title",
	                flex : 1
	            }, {
	                header : "Content",
	                dataIndex : "content",
	                flex : 1
	            }
	    ];

	    this.callParent(arguments);
	    console.log("artlicle.List init complete");
    }
});